module.exports = {
	plugins: [ 'tabs' ],
	title: "《ArkUI实战》",
	description: "《ArkUI实战》深入浅出的介绍了OpenHarmony开发框架ArkUI组件的使用和应用开发流程，是OpenHarmony应用开发的必备电子书。",
	markdown: {
		lineNumbers: true
	},
	head: [
		['link', { rel: 'icon', href: '/logo.png' }],
		['meta', { name: 'keywords', content: 'arkui, openharmony, harmonyos, 鸿蒙'}],
		['meta', { name: 'applicable-device', content: 'pc, mobile'}],
		['script', { async: true, src: "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5209774823610865", crossorigin: "anonymous" }]
	],
	sidebarDepth: 2,
	themeConfig: {
		logo:'/logo.png',
		nav: [
			{ text: '鸿蒙技术交流群：695438501', link: 'https://qm.qq.com/cgi-bin/qm/qr?k=YBDKMU9Lt309QL_I1Lfa2jVpGwx65VSR&jump_from=webapi' },
			{ text: '帮我完善电子书内容', link: 'https://gitee.com/ark-ui/arkui_in_action' },
			{ text: 'OpenHarmony主仓库', link: 'https://gitee.com/openharmony' },
			{ text: 'OpenHarmony三方库', link: 'https://gitee.com/openharmony-tpc/tpc_resource' }
		],
		sidebar: [
			{
				title: "前言",
				path: "/introduction"
			},
			{
				title: "第一章：简介",
				path: "/chapter1/index",
				collapsable: false,
				children: [
					"/chapter1/1_1_desc",
					"/chapter1/1_2_language",
					"/chapter1/1_3_language"
				]
			},
			{
				title: "第二章：第一个OpenHarmony应用",
				path: "/chapter2/index",
				collapsable: false,
				children: [
					"/chapter2/2_1_project",
					"/chapter2/2_2_arkui",
					"/chapter2/2_3_resource",
					"/chapter2/2_4_render",
					"/chapter2/2_5_state",
					"/chapter2/2_6_i18n",
					"/chapter2/2_7_collections",
					"/chapter2/2_8_media",
					"/chapter2/2_9_async"
				]
			},
			{
				title: "第三章：组件公共属性",
				path: "/chapter3/index",
				collapsable: false,
				children: [
					"/chapter3/3_1_size",
					"/chapter3/3_2_space",
					"/chapter3/3_3_location",
					"/chapter3/3_4_tips",
					"/chapter3/3_5_align",
					"/chapter3/3_6_background",
					"/chapter3/3_7_visibility",
					"/chapter3/3_8_style",
					"/chapter3/3_9_clip",
					"/chapter3/3_10_event",
					"/chapter3/3_11_gesture",
				]
			},
			{
				title: "第四章：基础类组件",
				path: "/chapter4/index",
				collapsable: false,
				children: [
					"/chapter4/4_1_text",
					"/chapter4/4_2_button",
					"/chapter4/4_3_image",
					"/chapter4/4_4_input",
					"/chapter4/4_5_progress",
					"/chapter4/4_6_picker",
					"/chapter4/4_7_qrcode",
					"/chapter4/4_8_toggle",
					"/chapter4/4_9_dialog",
					"/chapter4/4_10_slider",
					"/chapter4/4_11_rating",
					"/chapter4/4_12_span",
					"/chapter4/4_13_span",
				]
			},
			{
				title: "第五章：容器类组件",
				path: "/chapter5/index",
				collapsable: false,
				children: [
					"/chapter5/5_1_line",
					"/chapter5/5_2_flex",
					"/chapter5/5_3_stack",
					"/chapter5/5_4_grid",
					"/chapter5/5_5_sidebar",
					"/chapter5/5_6_tabs",
					"/chapter5/5_7_badge",
					"/chapter5/5_8_counter",
					"/chapter5/5_9_relative",
				]
			},
			{
				title: "第六章：滚动类组件",
				path: "/chapter6/index",
				collapsable: false,
				children: [
					"/chapter6/6_1_scroll",
					"/chapter6/6_2_list",
					"/chapter6/6_3_grid",
					"/chapter6/6_4_swiper",
					"/chapter6/6_5_refresh",
				]
			},
			{
				title: "第七章：功能型组件",
				path: "/chapter7/index",
				collapsable: false,
				children: [
					"/chapter7/7_1_video",
					"/chapter7/7_2_web",
					"/chapter7/7_3_lock",
					"/chapter7/7_4_navigator",
					"/chapter7/7_5_navigation",
					"/chapter7/7_6_window",
				]
			},
			{
				title: "第八章：绘制类组件",
				path: "/chapter8/index",
				collapsable: false,
				children: [
					"/chapter8/8_1_common",
					"/chapter8/8_2_circle_ellipse",
					"/chapter8/8_3_line_path",
					"/chapter8/8_4_rect_shape",
					"/chapter8/8_5_canvas",
				]
			},
			{
				title: "第九章：自定义组件",
				path: "/chapter9/index",
				collapsable: false,
				children: [
					"/chapter9/9_1_grammar",
					"/chapter9/9_2_ring",
					"/chapter9/9_3_title",
					"/chapter9/9_4_dialog",
					"/chapter9/9_5_dialog",
					"/chapter9/9_6_piechart",
					"/chapter9/9_7_slot",
					"/chapter9/9_8_refresh",
					"/chapter9/9_9_publish",
				]
			},
			{
				title: "第十章：提示框",
				path: "/chapter10/index",
				collapsable: false,
				children: [
					"/chapter10/10_1_toast",
					"/chapter10/10_2_dialog",
					"/chapter10/10_3_sheet",
					"/chapter10/10_4_calendar",
					"/chapter10/10_5_date",
					"/chapter10/10_6_time",
					"/chapter10/10_7_text",
				]
			},
			{
				title: "第十一章：动画",
				path: "/chapter11/index",
				collapsable: false,
				children: [
					"/chapter11/11_2_frame",
					"/chapter11/11_3_attributes",
					"/chapter11/11_4_animateto",
					"/chapter11/11_5_transition",
					"/chapter11/11_6_lottie",
				]
			},
			{
				title: "第十二章：公共事件与通知",
				path: "/chapter12/index",
				collapsable: false,
				children: [
					"/chapter12/12_1_system",
					"/chapter12/12_2_emitter",
					"/chapter12/12_3_reminderagent",
					"/chapter12/12_4_notification",
				]
			},
			{
				title: "第十三章：文件操作与网络请求",
				path: "/chapter13/index",
				collapsable: false,
				children: [
					"/chapter13/13_1_file",
					"/chapter13/13_2_http",
					"/chapter13/13_3_updown",
					"/chapter13/13_4_socket",
					"/chapter13/13_5_websocket",
					"/chapter13/13_6_httpclient",
					"/chapter13/13_7_observer",
				]
			},
			{
				title: "第十四章：状态管理V2",
				path: "/chapter14/index",
				collapsable: false,
				children: [
					"/chapter14/14_1_index",
					"/chapter14/14_2_local",
					"/chapter14/14_3_param",
					"/chapter14/14_4_once",
					"/chapter14/14_5_event",
					"/chapter14/14_6_ll",
					"/chapter14/14_7_class",
					"/chapter14/14_8_provider",
					"/chapter14/14_9_monitor",
					"/chapter14/14_10_appstorage",
					"/chapter14/14_11_persistence",
				]
			},
			{
				title: "第十五章：原子化服务",
				path: "/chapter15/index",
				collapsable: false,
				children: [
					"/chapter15/15_1_autoservice",
					"/chapter15/15_2_cardinaction",
				]
			},
			{
				title: "第十六章：玩转NDK编程",
				path: "/chapter16/index",
				collapsable: false,
				children: [
					"/chapter16/16_1_hello",
					"/chapter16/16_2_project",
					"/chapter16/16_3_types",
					"/chapter16/16_4_extend",
					"/chapter16/16_5_md5",
					"/chapter16/16_6_thread",
					"/chapter16/16_7_source",
					"/chapter16/16_8_source"
				]
			},
			{
				title: "第十七章：完整项目实战",
				path: "/chapter17/index",
				collapsable: false,
				children: [
					"/chapter17/17_1_desc",
					"/chapter17/17_2_models",
					"/chapter17/17_3_datastore",
					"/chapter17/17_4_network",
					"/chapter17/17_5_main",
					"/chapter17/17_6_login",
					"/chapter17/17_7_distribute",
					"/chapter17/17_8_language",
					"/chapter17/17_9_package",
				]
			},
			{
				title: "第十八章：开发技巧篇",
				path: "/chapter18/index",
				collapsable: false,
				children: [
					"/chapter18/18_1_optimizate",
					"/chapter18/18_2_upload",
					"/chapter18/18_3_fullscreen",
					"/chapter18/18_4_orientation",
					"/chapter18/18_5_screensize",
					"/chapter18/18_6_screengray",
					"/chapter18/18_7_keyboard",
					"/chapter18/18_8_exitapp",
					"/chapter18/18_9_globalthis",
					"/chapter18/18_10_performance",
					"/chapter18/18_11_exception",
					"/chapter18/18_12_screenshot",
					"/chapter18/18_13_theme",
				]
			},
			{
				title: "第十九章：跨平台",
				path: "/chapter19/index",
				collapsable: false,
				children: [
					"/chapter19/19_1_setup",
				]
			},
			{
				title: "第二十章：源码篇",
				path: "/chapter20/index",
				collapsable: false,
				children: [
					"/chapter20/20_1_index",
				]
			},
			{
				title: "赞助",
				path: "/donate"
			},
		]
	}
}